"use strict";
cc._RF.push(module, '57af7ueXM1BkbXhW5n5IGaq', 'sound');
// javascirpt/sound.js

"use strict";

// Learn cc.Class:
//  - https://docs.cocos.com/creator/manual/en/scripting/class.html
// Learn Attribute:
//  - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
//  - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
cc.Class({
  "extends": cc.Component,
  properties: {
    hitSound: {
      type: cc.AudioClip,
      "default": null
    }
  },
  onLoad: function onLoad() {},
  start: function start() {},
  playSound: function playSound() {
    cc.audioEngine.play(this.hitSound, false, 1);
  },
  jumpSence: function jumpSence() {
    cc.director.loadScene("home");
  }
});

cc._RF.pop();